/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package researchgrants.parts.LoggedData.panels.trees;

/**
 * The interface defines a class that can be represented as a tree
 * Such class should implement all the methods below to support the a tree element
 * @author DOStudent1
 */
public interface TreeableLoggedData {
    // The value to display on the tree selection
    public String toTreeValue();
    // The value to use when saving and loading the element being selected
    // The value has to be unique throughout the tree, to allow the correct loading, even though that to display the list, no global uniqueness is required, only local (same silibings) uniqeness.
    public String toTreeId();
}


